
cc.Class({
    extends: cc.Component,

    properties: {

    },
    onLoad () {},

    start () {

    },
    btn_callback: function (sender,str){
        if(str == "btn_close" || str == "btn_home"){
            this.node.destroy();
            starGame.BtnGohome();
        }
        else if(str == "btn_restart"){
            this.node.destroy();
            starGame.BtnRestart();
        }
        else if(str == "btn_free"){
            this.node.destroy();
            starGame.BtnFH();
        }
    }

    // update (dt) {},
});
